package com.group.mall.service;

import com.group.mall.domain.DTO.AddressDTO;
import com.group.mall.domain.POJO.Address;

import java.util.List;

public interface AddressService {
    List<Address> getAddress(Long userId);

    void deleteAddress(Long id);

    void addAddress(AddressDTO addressDTO);

    void deleteAllAddress(Long userId);

    void updateAddress(AddressDTO addressDTO);
}
